<template>
    <section class="malus-support container malus-download-support" data-aos="fade-up" data-aos-offset="100">
        <h2>{{$t('support_title')}}</h2>
        <ul class="support-content malus-support container">
            <li class="col"><a class="supprot-qq" event="Contact QQ" href="/r/qq" target="_blank"><span
                class="support-name">{{$t('support_li_1_title')}}</span>
                <span class="support-id">{{$t('support_li_1_desc')}}</span></a></li>
            <li class="col"><a class="supprot-wechat" event="Contact Wechat" href="/r/wechat" target="_blank"><span
                class="support-name">{{$t('support_li_2_title')}}</span> <span class="support-id">{{$t('support_li_2_desc')}}</span></a></li>
            <li class="col"><a class="supprot-mail" event="Contact Email" href="/r/email" target="_blank"><span
                class="support-name">{{$t('support_li_3_title')}}</span> <span class="support-id">{{$t('support_li_3_desc')}}</span></a></li>
        </ul>
    </section>
</template>

<script>
export default {
    name: "Support"
}
</script>

<style scoped lang="scss">
@media (max-width: 767.98px) {
    .support-content {
        overflow: auto;
        li {
            margin-right: 30px;
            padding: 0!important;
            a {
                width: 300px;
            }
        }
    }
}
.malus-support {
    h2 {
        font-size: 36px;
        font-weight: 400;
        color: #333;
        text-align: center;
        padding: 80px 0;

    }

    .support-content {
        display: flex;
        justify-content: space-between;
        list-style: none;
        padding: 0;
        margin-bottom: 80px;

        li {
            width: 100%;

            a {
                position: relative;
                display: flex;
                flex-direction: column;
                color: #333;
                min-height: 130px;
                border: 2px solid #f0f1ff;
                border-radius: 6px;
                box-sizing: border-box;
                transition: all .2s ease;

                .support-name {
                    font-size: 16px;
                    color: #7b7b7b;
                    margin: 24px 0 0 -2px;
                    padding-left: 40px;
                    line-height: 24px;
                    border-left: 3px solid #4d55e8;
                }

                .support-id {
                    z-index: 99;
                    position: relative;
                    font-size: 22px;
                    color: #333;
                    margin-top: 18px;
                    padding-left: 40px;
                }
            }

            a:hover {
                border: 2px solid #fff;
                box-shadow: 0 18px 34px rgb(0 0 0 / 10%);
                border-radius: 4px;
                transform: translateY(-1px);
            }
        }

        .supprot-qq::after {
            content: "";
            display: block;
            width: 44px;
            height: 52px;
            background: url(../assets/socail_qq.ca5ac.svg) no-repeat;
            background-size: contain;
            position: absolute;
            right: 40px;
            top: 40px;
        }

        .supprot-wechat::after {
            content: "";
            display: block;
            width: 44px;
            height: 52px;
            background: url(../assets/support_wechat.65a86.svg) no-repeat;
            background-size: contain;
            position: absolute;
            right: 40px;
            top: 40px;
        }

        .supprot-mail::after {
            content: "";
            display: block;
            width: 44px;
            height: 52px;
            background: url(../assets/socail_mail.8f350.svg) no-repeat;
            background-size: contain;
            position: absolute;
            right: 40px;
            top: 40px;
        }
    }
}
</style>
